{% extends "base.html" %} {% block content %}

<h2>Travel Results</h2>

<table border="1">
	{% for departure_info in departures %}
	<tr>
		<td>{{departure_info.departure_airport_iata_code}}</td>
		<td>{{departure_info.departure_date}}</td>
		<td>{{departure_info.arrival_airport_iata_code}}</td>
		<td>{{departure_info.arrival_date}}</td>
		<td>{{departure_info.airline_code}}-{{departure_info.flight_number}}</td>
		<td>{{departure_info.aircraft_type}}</td>
	</tr>
	{% endfor %}
</table>
{% endblock %}
